html,
body {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    min-height: 100vh;
    position: relative;
    z-index: -1;
    font-family: PingFangSC-Regular, sans-serif;
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Chrome/Safari/Opera */
    -khtml-user-select: none;
    /* Konqueror */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
not supported by any browser */
}

.obox {
    border-radius: 05px;
}

.bs {
    box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.12), 0px 0px 36px 10px rgba(134, 134, 134, 0.1);
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
}

div::-webkit-scrollbar {
    display: none;
}

input::-webkit-input-placeholder {
    color: #AEAEAE;
    font-size: 16px;
    /* font-family: 'Helvetica', 'Arial', "\5b8b\4f53", sans-serif; */
    font-family: "Microsoft YaHei";
}

input[type="search"]::-webkit-search-cancel-button {
    display: none;
}

textarea::-webkit-input-placeholder {
    color: #AEAEAE;
    font-size: 16px;
    /* font-family: 'Helvetica', 'Arial', "\5b8b\4f53", sans-serif; */
    font-family: "Microsoft YaHei";
}

textarea {
    font-size: 16px;
}

input {
    width: 100%;
    height: 100%;
    font-size: 16px;
}

.cnicered {
    color: $nicered;
}

.img img {
    width: 100%;
}

.logo {
    width: 72px;
}

img {
    display: block;
}

.ellipsis-1,
.ellipsis-2,
.ellipsis-3 {
    display: -webkit-box !important;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    white-space: normal !important;
    -webkit-flex-shrink: inherit !important;
    -ms-flex: auto !important;
    -webkit-flex-shrink: inherit !important;
    flex-shrink: inherit !important;
    /* autoprefixer: ignore next */
    -webkit-box-orient: vertical;
}

.ellipsis-1 {
    -webkit-line-clamp: 1
}

.ellipsis-2 {
    -webkit-line-clamp: 2
}

.ellipsis-3 {
    -webkit-line-clamp: 3
}

.context_box {
    width: 100vw;
    height: 100%;
    position: relative;
    background: #fff;
    font-family: "Microsoft YaHei";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1;
    color: #333;
    overflow-x: hidden;
    /* -webkit-overflow-scrolling: touch; */
    letter-spacing: .5px;
}

.context_box_f {
    width: 100vw;
    min-height: calc(100vh - 48px);
    position: relative;
    background: rgba(216, 216, 216, 0.24);
    font-family: "Microsoft YaHei";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1;
    color: #333;
    overflow-x: hidden;
    /* -webkit-overflow-scrolling: touch; */
    letter-spacing: .5px;
}

.tabbarBottom {
    min-height: calc(100vh - 108px);
}

.flex {
    display: flex;
}

div {
    box-sizing: border-box;
}

.cenFlex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sbFlex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btnR {
    border-radius: 10px;
}

.all_btn {
    background: linear-gradient(180deg, #3AD2CE 0%, #25B3D6 100%);
    color: #fff;
}

.all_btn_p {
    background: #0f8cf3;
    color: #fff;
    font-size: 14px;
}

.all_btn_f {
    background: #cccccc;
    color: #fff;
}

.all_btn_w {
    background: #fff;
    color: #999;
}

.clearfix:after {
    display: block;
    clear: both;
    content: '';
    visibility: hidden;
    height: 0;
}

.bm {
    border-bottom: 1px #AEAEAE solid;
}

* {
    padding: 0px;
    margin: 0px;
    border: 0px;
    outline: 0px;
    background: transparent;
}

input,
button,
select,
textarea {
    outline: none;
}


/* page change */

$--transition-time: 300ms;
.back-enter-active,
.back-leave-active,
.forward-enter-active,
.forward-leave-active {
    will-change: transform;
    transition: transform $--transition-time;
    position: absolute;
    height: 100%;
    backface-visibility: hidden;
    perspective: 1000;
}

.back-enter {
    opacity: 0.75;
    transform: translate3d(-50%, 0, 0) !important;
}

.back-enter-active {
    z-index: -1 !important;
    transition: transform $--transition-time;
}

.back-leave-active {
    transform: translate3d(100%, 0, 0) !important;
    transition: transform $--transition-time;
}

.forward-enter {
    transform: translate3d(100%, 0, 0) !important;
}

.forward-enter-active {
    transition: transform $--transition-time;
}

.forward-leave-active {
    z-index: -1;
    opacity: 0.65;
    transform: translate3d(-50%, 0, 0) !important;
    transition: transform $--transition-time;
}